﻿<UserControl xmlns:my="clr-namespace:WyoCode.WyoApp_VSTools.WCFManager"  x:Class="WyoCode.WyoApp_VSTools.MyControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vsfx="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.10.0"
             mc:Ignorable="d" 
             xmlns:local="clr-namespace:WyoCode.WyoApp_VSTools"
             d:DesignHeight="300" d:DesignWidth="600"
             Name="MyToolWindow"
             Background="{DynamicResource {x:Static vsfx:VsBrushes.ToolWindowBackgroundKey}}">

    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        
        <Menu>
            <MenuItem Click="RefreshClick" Header="Refresh">
                
            </MenuItem>
        </Menu>
        

        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <ListBox x:Name="ProjectListBox" Width="200" DisplayMemberPath="Name" SelectionChanged="ProjectListBox_SelectionChanged" />
            <TabControl Grid.Column="1" Margin="2">
                <TabItem Header="WCF">
                    <my:WCFRoot x:Name="wcfRootControl" />
                </TabItem>
            </TabControl>
        </Grid>
    </Grid>
</UserControl>
